# -*- coding:utf-8 -*-
from django import forms

from ckeditor_uploader.fields import RichTextUploadingFormField


class TopicForm(forms.Form):
    title = forms.CharField(max_length=200, widget=forms.TextInput(attrs={
        'placeholder': u'请填写标题', 'class': 'form-control'
    }))
    content = RichTextUploadingFormField()


class TopicReplyForm(forms.Form):
    content = RichTextUploadingFormField()